#ifndef PRELISTITEM_H
#define PRELISTITEM_H

#include <QListWidgetItem>

class PreListItem : public QListWidgetItem
{

public:
    explicit PreListItem(const QIcon &icon, const QString &text,const int &index,
                                      QListWidget *view , int type = Type );
    int GetIndex();
    QString GetPath();
private:
    QString _path;
    int _index;
};

#endif // PRELISTITEM_H
